package GDoc::Document;

use Moose;
use Carp 'croak';


has 'key'         => ( is        => 'ro',
                       isa       => 'Str',
                       required  => 1
                     );

has 'type'        => ( is        => 'ro',
                       isa       => 'Str',
                       required  => 1
                     );

has 'size'        => ( is        => 'ro',
                       isa       => 'Str',
                       required  => 1
                     );

has 'description' => ( is        => 'ro',
                       isa       => 'Str',
                       required  => 1
                     );

has 'identifier'  => ( is        => 'ro',
                       isa       => 'Str',
                       required  => 1
                     );

has 'date'        => ( is        => 'ro',
                       isa       => 'DateTime',
                       required  => 1 
                     );

1;

